//
//  RNOLTabSegmentBaseViewController.m
//  RongNiuOnline
//
//  Created by apple on 2018/5/16.
//  Copyright © 2018年 rongniu. All rights reserved.
//

#import "RNOLTabSegmentBaseViewController.h"

@interface RNOLTabSegmentBaseViewController ()

@end

@implementation RNOLTabSegmentBaseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.

}


- (UIColor *)markViewColorForIndex:(NSInteger)index{
    return kAppMainColor;
}

- (UIColor *)titleColorForIndex:(NSInteger)index{
    return kTextColor;
}
- (UIColor *)titleHighlightColorForIndex:(NSInteger)index{
    return kAppMainColor;
}
- (UIFont *)titleFontForIndex:(NSInteger)index{
    return KFontSize(15);
}

- (UIColor *)tabBackgroundColor
{
    return [UIColor whiteColor];
}

- (CGFloat)preferTabW{
    return KWIDTH;
}

/*
 是否需要标题栏选中时候联动的下滑线
 */
- (BOOL)needMarkView
{
    return YES;
}

/**
 交互切换的时候 是否预加载
 */
-(BOOL)isPreLoad {
    return YES;
}



@end
